<?php
/*
	首页
*/
//cfc('core')->checklogin();
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'main';
set_html('header','common/header-cms');
if($_RQ['op']=='main'){
	
	$id=$_RQ['id'];
	if(!id){
		exi('参数错误','');
	}
	$return['detail']=pdo_get('jy_jdk_goods',array('id'=>$id));
	set_html('title',$setting['title']?'首页-'.$setting['title']:'商品详情');
	exi($return);
}

	
?>